home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Diversos / magneto.swf / scripts / DefineButton2_153 / BUTTONCONDACTION on(press).as
Encoding:
Text File  |  2007-07-07  |  697 b   |  31 lines

  1. on(press){
  2.    if(pnam == "" or !pnam and zzu != 1 or ptse < 1000)
  3.    {
  4.       _root.gotoAndPlay(3);
  5.    }
  6.    else
  7.    {
  8.       zzu = 1;
  9.       fvorname = "x";
  10.       fnachname = pnam;
  11.       fpunkte = _root.pts;
  12.       ficon = 1;
  13.       loadVariables("http://www.crawlor.com/gameshot/magneto/schreiben.php?" + new Date().getTime(),this,"POST");
  14.       status_txt.text = "Schreibe Daten!";
  15.       this.onData = function()
  16.       {
  17.          if(eintrag)
  18.          {
  19.             quit = 1;
  20.             _root.gotoAndPlay(3);
  21.             delete eintrag;
  22.          }
  23.          else
  24.          {
  25.             status_txt.text = "Fehler !";
  26.             delete eintrag;
  27.          }
  28.       };
  29.    }
  30. }
  31.